#ifndef MODELMANAGER_H
#define MODELMANAGER_H

using namespace std;

namespace mgfx
{
	class Model;

	class ModelManager
	{
	public:
		Model * createModel(const string & key);

		Model * getModel(const string & key);
		Model * getDefaultModel() { return mDefaultModel; }

		void init();
		void deinit();



	private:
		typedef map<string, Model*> ModelMap;
		ModelMap mModels;

		Model * mDefaultModel;

	};
}

#endif
